
package practise.inherit;
public class Children extends Parent {
	
	public static Parent testForStatic = new Parent();
	private String symbol = "Children symbol";
	public String OverrideObjectSymbol = "OverrideObjectSymbol : children !";
	public InitFeildTest testFeild = new InitFeildTest();
	public Children(){
		System.out.println("Children called .");
		System.out.println(symbol);
		currentObjectSymbol = symbol;
	}
	
	public Children(String str){
		System.out.println("children " + str + "called .");
	}
	
	public void OverrideGetSymbol(){
		System.out.println("symbol : " + symbol);
		System.out.println("currentObjectSymbol : " + currentObjectSymbol);
		System.out.println("OverrideObjectSymbol : " + OverrideObjectSymbol);
	}
	
	public void childMethod(){
		System.out.println("Child method called ");
	}
	
}
abstract class TestA{
    private int a=0;
}
